﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace YQBlog.Models
{
    /// <summary>
    /// 页面类型
    /// </summary>
    public class PageType
    {
        public int TypeId { get; set; }
        public string TypeName { get; set; }
    }

    /// <summary>
    /// 站点语言
    /// </summary>
    public class PageLang
    {
        public string Key{ get; set; }
        public string Value{ get; set; }
    }

    /// <summary>
    /// 下拉项
    /// </summary>
    public class SelectItem
    {
        public string Key { get; set; }
        public string Value { get; set; }
    }

    /// <summary>
    /// 文章生成
    /// </summary>
    public class ArticleItem
    {
        public int id { get; set; }
        public string rename { get; set; }
        public string date { get; set; }
    }

    /// <summary>
    /// 转载网站信息实体类
    /// </summary>
    public class PublishWebModel
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string Author { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
    }

    /// <summary>
    /// 文章标签
    /// </summary>
    public class TagInfo
    {
        public string Tag { get; set; }
        public  int Count{ get; set; }
    }

    /// <summary>
    /// 复选框
    /// </summary>
    public class MyCheckBox
    {
        public string Text { get; set; }
        public string Value { get; set; }
        public bool IsChecked { get; set; }
    }


    /// <summary>
    /// 站点信息
    /// </summary>
    public class SiteInfo
    {
        public string Url { get; set; }
        public string Name { get; set; }
        public string Logo { get; set; }
        public string Description { get; set; }
        public string Country { get; set; }
        public string Tags { get; set; }
        public string Pro
        {
            get { return "YQBlog"; }
        }
        public string Version
        {
            get { return "1.2"; }
        }
    }
}